package com.dom.api.sale;

import com.dom.common.model.standard.ResponseModel;
import com.dom.common.model.vo.sale.*;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@RequestMapping("/invo/sale")
public interface MarketSaleApi {

    @RequestMapping(value = "/insertMarketSale",method = RequestMethod.POST)
    String insertMarketSale(@RequestBody M030R request);

    @RequestMapping(value = "/getMarketSaleList",method = RequestMethod.POST)
    M039A getMarketSaleList(@RequestBody M039R request);

    @RequestMapping(value = "/findUpdateMarketSale",method = RequestMethod.POST)
    M033A findUpdateMarketSale(@RequestParam("id") String id);

    @RequestMapping(value = "/marketSaleDel",method = RequestMethod.POST)
    boolean marketSaleDel(@RequestParam("id") String id);

    @RequestMapping(value = "/marketSaleModify",method = RequestMethod.POST)
    ResponseModel marketSaleModify(@RequestBody M032R request);
}
